package com.eagle.coders.server.db;

import java.util.List;
import java.util.Map;

/**
 * 
 * @author Anees
 *
 */
public interface DatabaseDao {
	
//	Map<String, Object> findByCondition(String tableName, Map<String, Object> conditions);
	
//	List<?> findByAll(String tableName);
	
	<T extends Object> T findMapper(Class<T> mapperClz);
	
	<T extends Object> List<T> findByAllMapper(Class<T> mapperClz);
	
	<T extends Object> List<T> findByConditionForMapper(Class<T> mapperClz, Map<String, Object> condition);
}
